If you’ve modified the file since you last saved it, or if it is an new, untitled file, an alert box asks whether you want to save or discard the changes, or cancel the close operation and leave the Document window open. Choosing Save displays the Save As dialog box.